﻿using App.MVCClient.Areas.User.Models;
using App.MVCClient.Controllers;
using System.Web.Mvc;

namespace App.MVCClient.Areas.User.Controllers
{
    public class AccountController : BaseController
    {
        //
        // GET: /User/Account
        [HttpGet]
        public ActionResult Index()
        {
            return View();
        }

        //
        // GET: /User/Account/Register
        [HttpGet]
        public ActionResult Register(string loginId = null)
        {
            AccountDTO address;
            if (!string.IsNullOrWhiteSpace(loginId))
            {
                address = new AccountDTO();
            }
            else
            {
                address = new AccountDTO();
            }
            return View(address);
        }

        //
        // POST: /User/Account/Register
        [HttpPost]
        public ActionResult Register(AccountDTO viewModel)
        {
            return View();
        }

        //
        // GET: /User/Account/Login
        [HttpGet]
        public ActionResult Login()
        {
            return View();
        }

        //
        // POST: /User/Account/Login
        [HttpPost]
        public ActionResult Login(string loginId, string password)
        {
            return View();
        }

    }
}
